﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <StreamGeometry x:Key="prev_button_pathdata">
        F1M51.082,11.424C51.082,15.42 52.01,19.203 53.665,22.578 53.665,22.578 10.714,22.578 10.714,22.578 5.714,22.578 1.66,17.86 1.66,12.04 1.66,6.22 5.714,1.502 10.714,1.502 10.714,1.502 53.104,1.502 53.104,1.502 51.803,4.556 51.082,7.907 51.082,11.424z
    </StreamGeometry>
    <StreamGeometry x:Key="prev_icon_pathdata">
        F1M1.707,8.75C2.231,9.08 10.795,14.379 11.415,14.747 11.869,15.017 12.465,14.719 12.465,14.105 12.465,13.828 12.465,11.518 12.465,8.997 14.235,10.097 21.217,14.416 21.776,14.747 22.23,15.017 22.825,14.719 22.825,14.105 22.825,13.482 22.825,2.543 22.825,2.113 22.825,1.555 22.286,1.141 21.754,1.467 21.366,1.704 14.296,6.073 12.465,7.205 12.465,4.644 12.465,2.307 12.465,2.113 12.465,1.555 11.926,1.141 11.393,1.467 10.966,1.728 2.435,7 1.707,7.451 1.228,7.747 1.236,8.453 1.707,8.75z
    </StreamGeometry>
    
    <LinearGradientBrush x:Key="HighlightBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Color="#dee3de" Offset="0"/>
        <GradientStop Color="#7Fb5bbb5" Offset="0.5"/>
        <GradientStop Color="#11ccd2cc" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="HighlightOverBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Color="White" Offset="0"/>
        <GradientStop Color="#7Fcccccc" Offset="0.5"/>
        <GradientStop Color="#33ccd2cc" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="HighlightPressBrush" StartPoint="0,1" EndPoint="0,0">
        <GradientStop Color="#dee3de" Offset="0"/>
        <GradientStop Color="#7Fb5bbb5" Offset="0.5"/>
        <GradientStop Color="#7Fd1d8d1" Offset="0.5"/>
        <GradientStop Color="#33ccd2cc" Offset="1"/>
    </LinearGradientBrush>
    
    <ControlTemplate x:Key="prev_button_template" TargetType="{x:Type Button}">
        <Grid>
            <Path Data="{StaticResource prev_button_pathdata}" Stroke="#66000000"  Stretch="Fill"/>
            <Path Name="Highlight" Data="{StaticResource prev_button_pathdata}" Stroke="#BFdfe3df" Margin="1" Stretch="Fill" Fill="{StaticResource HighlightBrush}"/>
            <Path Data="{StaticResource prev_icon_pathdata}" HorizontalAlignment="Center" VerticalAlignment="Center" Stroke="#33000000" Margin="0,-1,0,0">
                <Path.Fill>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="White" Offset="0.45"/>
                        <GradientStop Color="#afafaf" Offset="1"/>
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter TargetName="Highlight" Property="Fill" Value="{StaticResource HighlightOverBrush}" />
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter TargetName="Highlight" Property="Fill" Value="{StaticResource HighlightPressBrush}" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="False">
                <Setter TargetName="Highlight" Property="Fill" Value="{x:Null}" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
</ResourceDictionary>